*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  a{
    display: block;
    color: inherit;
    text-decoration: none;
  }
  img{
    display: block;
    width: 100%;
  }
  ul{
    list-style: none;
  }
  
  .clearfix::after{ 
    content: "";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
    clear: both;
  }
/* 头部 */

header {
    min-height: 44px;
    background-color: rgb(255, 132, 29);
    display: flex;
    a:first-child {
        display: block;
        width: 50px;
        height: 44px;
        text-align: center;
        line-height: 44px;
        .fa-angle-left {
            padding-top: 8px;
            color: #fff;
            font-size: 28px;
        }
    }
    h1 {
        height: 44px;
        flex: 1;
        font-size: 20px;
        color: #fff;
        font-weight: bold;
        text-align: center;
        line-height: 44px;
    }
    a:last-child {
        display: block;
        width: 50px;
        height: 44px;
        text-align: center;
        line-height: 44px;
        background: url(../images/header_app.png) no-repeat;
        background-size: 33px 33px;
        background-position: 8px 5px;
    }
}

/* 内容部分 */

.goods {
    .commodity {
        padding: 15px 10px;
        margin-bottom: 10px;
        display: flex;
        .left {
            float: left;
            display: inline-block;
            img {
                width: 100px;
                height: 100px;
            }
        }
        .right {
            padding-left: 10px;
            flex: 1;
            display: inline-block;
            float: right;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            .r-top {
                font-size: 15px;
                color: #333;
                span {
                    color: rgb(255, 108, 0);
                }  
            }
            .r-bottom {
                display: flex;
                font-size: 12px;
                color: rgb(161, 161, 161);
                line-height: 1;
                padding-top: 15px;
                justify-content: space-between;
            }
        }
    }
}

/* 分页 */
.paging {
    padding: 20px 5px;
    background-color: rgb(242, 242, 242);
    .p-up,.p-down {
        width: 85px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        border: 1px solid rgb(207, 207, 207);
        background-color: rgb(235, 235, 235);
        border-radius: 5px;
        font-size: 14px;
    }
    .p-up {
        float: left;
    }
    .selectPage {
        width: 130px;
        height: 30px;
        border: 1px solid rgb(207, 207, 207);
        margin-left: 5px;

    }
    .p-down {
        float: right;
    }
}

/* 面包屑导航 */
.bread {
    border-top: 1px solid rgb(204, 204, 204);
    border-bottom: 1px solid rgb(204, 204, 204);
    padding: 10px 0;
    background-color: rgb(246, 246, 246);
    font-size: 14px;
    a:first-child {
        float: left;
        padding-left: 10px;
        
    }
    span {
        margin-left: 8px;
    }
}

/* 底部 */
footer {
    .footer-top {
        padding-top: 25px;
        background-color: rgb(242, 242, 242);
        margin-bottom: 60px;
        .f-t-tool {
            display: flex;
            a {
                width: 33%;
                flex: 1;
                text-align: center;
                background-color: rgb(239, 239, 239);
                border: 1px solid #ccc;
                padding: 8px 0;
                font-size: 14px
            }
            a:first-child,a:last-child {
                border-left: 0;
                border-right: 0;
            }
        }
    }
    .footer-bottom {
        width: 100%;
        position: fixed;
        bottom: 0;
        height: 60px;
        background-color: rgb(250, 248, 245);
        overflow: hidden;
        padding: 0 8px;
        .close {
            background: url(../images/icon_bar.png);
            width: 30px;
            height: 30px;
            margin-top: 15px;
            background-position: -360px -30px;
            display: inline-block;
            float: left;
        }
        img {
            width: 41px;
            height: 41px;
            float: left;
            margin-top: 10px;
            margin-left: 4px;
        }
        div:nth-of-type(2) {
            float: left;
            margin-top: 8px;
            color: rgb(136, 136, 136);
            margin-left: 6px;
            p:first-child {
                font-size: 18px;
            }
            p:last-child {
                font-size: 16px;
            }
        }
        .opp{
            font-size: 14px;
            float: right;
            background-color: rgb(255, 119, 0);
            color: #fff;
            padding: 8px 9px;
            border-radius: 5px;
            margin-top: 12px;
        }
    }
} 